using System;
using System.Collections.Generic;

namespace ApiProject.Api.Entity
{
    //用户信息表
    public class UserInfo : BaseEntity
    {
        public UserInfo(){
            NickName = "匿名";
            Sex = "";
            Birthday = DateTime.Now;
            Address = "";
            SelfIntroduction = "";
        }
        //昵称
        public string NickName { get; set; }

        //性别
        public string Sex{get;set;} 

        //出生日期
        public DateTime Birthday{get;set;}

        //地址
        public string Address{get;set;}

        //自我介绍
        public string SelfIntroduction{get;set;}

        //用户Id
        public int UserId{get;set;}

        public virtual Users User{get;set;}

    }
}
